<!-- 抽取记录 -->
<template>
    <div class="page-box h100 display-flex czbj">
        <p class="title-label mb10">抽取纸条记录</p>
        <dxtable :dataJson="dataJson" :portUrl="portUrl" :qx="qx"  ref="databale"></dxtable>
        <!-- :czFun="czFun" -->
    </div>
</template>
<script lang='ts' setup>
import { leixing } from "../../util/config";
import dxtable from "../../components/util/dxtable.vue";
import sort from "../../components/util/sort.vue";
import pupimg from "../../components/util/pupimg.vue";
import { dxget } from "../../util/index";
import { NButton } from "naive-ui"
import { h, ref, reactive } from "vue";
import { NImage } from "naive-ui";
const databale = ref();
const initeer = () => {
    databale.value.initDataExpose();
};
let qxList = ref([]);
let dataJson = [
    {
        title: "纸条id",
        key: "scripId",
    },
 
    {
        title: "用户id",
        key: "openid",
        render(row) {
            return row.openid || '系统管理员添加的'
        }
    },
    {
        title: "抽取方式",
        key: "ExtractionModeName",
    }, 

    // {
    //     title: "价格",
    //     key: "price",
    // },
    
    {
        title: "创建时间",
        key: "addTime",
        width: 150,
    },
];
const qx = {
    DeletePermissionID: "mhStripRecorddel", //删除
    EditPermissionIdentifier: "mhStripRecordbj22", // 编辑
    NewPermissionIdentifier: "mhStripRecordxz", // 新建
    ViewPermissionID: "mhStripRecordck", // 查看
};
// const portUrl = "dxgjAdmin/administrator?CharacterNameCode=" + leixing;
const portUrl = "mh/mhExtractionRecord";

</script>
<style scoped></style>